home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of www.BestZips.com (Collector's Edition)
/
Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO
/
communic
/
hqfax60.zip
/
ADSEND.BAT
next >
Wrap
DOS Batch File
|
1995-03-14
|
2KB
|
48 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1995 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: ADSEND.bat */
REM DESCRIPTION : This batch file invokes the HQFSEND.exe program */
REM to send a FAX plus an optional cover sheet */
REM This file will pass the autodetect switch to */
REM HQFSEND.exe plus user supplied options */
REM */
REM Invocation: Call ADSEND.bat [X] Filename Phoneno options ... */
REM X is a 1-byte # to indicate Cover(1) Doc(2) or both(3)*/
REM */
REM *********************************************************************/
REM
if %1 == 1 goto Covrsolo
if %1 == 2 goto Docsolo
if %1 == 3 goto CovrwDoc
REM %1 isn't 1,2, or 3 - must be a file name
CLS
Echo Sending Document %1 w/out cover letter to %2
HQFSEND.exe /FCA /PN%2 %3 %4 %5 %6 %7 %8 %9 %1.APF
goto quit
:Covrsolo
CLS
Echo Sending Cover letter solo to %3
HQFSEND.exe /FCA /PN%3 %4 %5 %6 %7 %8 %9 Covrletr.APF
goto quit
:Docsolo
CLS
Echo Sending Document %2 w/out cover letter to %3
HQFSEND.exe /FCA /PN%3 %4 %5 %6 %7 %8 %9 %2.APF
goto quit
:CovrwDoc
CLS
Echo Sending Document "%2" with cover letter to %3
HQFSEND.exe /CVcovrletr.apf /FCA /PN%3 %4 %5 %6 %7 %8 %9 %2.APF
:quit